<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<head>
    <th:block th:include="include :: header('修改用户列表')"/>
</head>
<body class="white-bg">
<div class="wrapper wrapper-content">

    <div class="row">
        <div class="col-sm-12">
            <div class="ibox float-e-margins">
                <div class="ibox-title">
                    <h5>基本信息</h5>
                    <div class="ibox-tools">
                        <a class="collapse-link">
                            <i class="fa fa-chevron-up"></i>
                        </a>
                        <a class="close-link">
                            <i class="fa fa-times"></i>
                        </a>
                    </div>
                </div>
                <div class="ibox-content">
                    <div class="row">
                        <div class="col-sm-12">
                            <table class="table table-hover margin bottom left right" style="table-layout:fixed;">
                                <tbody>
                                <tr>
                                    <td>手机号</td>
                                    <td><span th:text="${userInfo.baseInfo.mobileDe}"
                                              style="background: gainsboro; padding: 3px"></span></td>
                                    <td>用户ID</td>
                                    <td><span th:text="${userInfo.baseInfo.uid}"
                                              style="background: gainsboro; padding: 3px;"></span></td>
                                </tr>
                                <tr>
                                    <td>性别</td>
                                    <td><span th:text="${userInfo.baseInfo.sex}"
                                              style="background: gainsboro; padding: 3px"></span></td>
                                    <td>年龄</td>
                                    <td><span th:text="${userInfo.baseInfo.age}"
                                              style="background: gainsboro; padding: 3px"></span></td>
                                </tr>


                                <tr>
                                    <td shiro:hasPermission="member:info:sensitive">渠道来源</td>
                                    <td shiro:hasPermission="member:info:sensitive"><span
                                            th:text="${userInfo.baseInfo.channelName}"
                                            style="background: gainsboro; padding: 3px"></span></span></td>
                                    <td>注册ip</td>
                                    <td><span th:text="${userInfo.baseInfo.reqIp}"
                                              style="background: gainsboro; padding: 3px"></span></span></td>
                                    <td>注册时间</td>
                                    <td><span th:text="${userInfo.baseInfo.createTime}"
                                              style="background: gainsboro; padding: 3px"></span></span></td>
                                </tr>
                                <tr>
                                    <td>是否实名</td>
                                    <td><span th:text="${userInfo.baseInfo.authFlag}"
                                              style="background: gainsboro; padding: 3px"></span></span></td>
                                    <td>姓名</td>
                                    <td><span th:text="${userInfo.baseInfo.username}"
                                              style="background: gainsboro; padding: 3px"></span></span></td>
                                    <td>身份证</td>
                                    <td><span th:text="${userInfo.baseInfo.idCard}"
                                              style="background: gainsboro; padding: 3px"></span></span></td>
                                </tr>
                                <tr>
                                    <td>省</td>
                                    <td><span th:text="${userInfo.baseInfo.province}"
                                              style="background: gainsboro; padding: 3px"></span></span></td>
                                    <td>市</td>
                                    <td><span th:text="${userInfo.baseInfo.city}"
                                              style="background: gainsboro; padding: 3px"></span></span></td>
                                    <td>区</td>
                                    <td><span th:text="${userInfo.baseInfo.area}"
                                              style="background: gainsboro; padding: 3px"></span></span></td>
                                </tr>
                                </tbody>
                            </table>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <div class="row">
        <div class="col-sm-12">
            <div class="ibox float-e-margins">
                <div class="ibox-title">
                    <h5>认证信息</h5>
                    <div class="ibox-tools">
                        <a class="collapse-link">
                            <i class="fa fa-chevron-up"></i>
                        </a>
                        <a class="close-link">
                            <i class="fa fa-times"></i>
                        </a>
                    </div>
                </div>
                <div class="ibox-content">
                    <div class="row">
                        <div class="col-sm-12">
                            <table class="table table-hover margin bottom" style="table-layout:fixed;">
                                <tbody>
                                <!--                                    style="background: gainsboro; text-align: center"-->
                                <tr>
                                    <td>贷款金额</td>
                                    <td><span th:text="${userInfo.extInfo.loanAmount}"
                                              style="background: gainsboro; padding: 3px"></span></span></td>
                                    <td>贷款时间</td>
                                    <td><span th:text="${userInfo.extInfo.loanTime}"
                                              style="background: gainsboro; padding: 3px"></span></span></td>
                                    <td>是否逾期</td>
                                    <td><span th:text="${userInfo.extInfo.yuqi}"
                                              style="background: gainsboro; padding: 3px"></span></span></td>
                                </tr>
                                <tr>
                                    <td>芝麻分数</td>
                                    <td><span th:text="${userInfo.extInfo.zhima}"
                                              style="background: gainsboro; padding: 3px"></span></span></td>
                                    <td>白条</td>
                                    <td><span th:text="${userInfo.extInfo.baitiao}"
                                              style="background: gainsboro; padding: 3px"></span></span></td>
                                    <td>花呗</td>
                                    <td><span th:text="${userInfo.extInfo.huabei}"
                                              style="background: gainsboro; padding: 3px"></span></span></td>
                                </tr>
                                <tr>
                                    <td>房产情况</td>
                                    <td><span th:text="${userInfo.extInfo.house}"
                                              style="background: gainsboro; padding: 3px"></span></span></td>
                                    <td>车产情况</td>
                                    <td><span th:text="${userInfo.extInfo.car}"
                                              style="background: gainsboro; padding: 3px"></span></span></td>
                                    <td>公积金情况</td>
                                    <td><span th:text="${userInfo.extInfo.gjj}"
                                              style="background: gainsboro; padding: 3px"></span></span></td>
                                </tr>
                                <tr>
                                    <td>社保情况</td>
                                    <td><span th:text="${userInfo.extInfo.shebao}"
                                              style="background: gainsboro; padding: 3px"></span></span></td>
                                    <td>保单情况</td>
                                    <td><span th:text="${userInfo.extInfo.baodan}"
                                              style="background: gainsboro; padding: 3px"></span></span></td>
                                    <td>学历</td>
                                    <td><span th:text="${userInfo.extInfo.xueli}"
                                              style="background: gainsboro; padding: 3px"></span></span></td>
                                </tr>
                                <tr>
                                    <td>企业主</td>
                                    <td><span th:text="${userInfo.extInfo.enterpriseOwner}"
                                              style="background: gainsboro; padding: 3px"></span></td>
                                </tr>
                                </tbody>
                            </table>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <div class="row">
        <div class="col-sm-12">
            <div class="ibox float-e-margins">
                <div class="ibox-title">
                    <h5>推送信息</h5>
                </div>
                <div class="ibox-content">
                    <div class="row">
                        <div class="col-sm-12">
                            <table class="table table-hover margin bottom" style="table-layout:fixed;">
                                <thead>
                                <td>机构类型</td>
                                <td>机构名称</td>
                                <td>推送状态</td>
                                <td>推送时间</td>
                                </thead>
                                <tbody>
                                <tr th:each="item:${pushResultList}">
                                    <td>[[${item.type}]]</td>
                                    <td>[[${item.name}]]</td>
                                    <td>[[${item.status}]]</td>
                                    <td>[[${item.time}]]</td>
                                </tr>
                                </tbody>
                            </table>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <div class="row">
        <div class="col-sm-12">
            <div class="ibox float-e-margins">
                <div class="ibox-title">
                    <h5>产品信息(近七天数据)</h5>
                </div>
                <div class="ibox-content">
                    <div class="row">
                        <div class="col-sm-12">
                            <table class="table table-hover margin bottom" style="table-layout:fixed;">
                                <thead>
                                <td>产品ID</td>
                                <td>产品名称</td>
                                <td>ip</td>
                                <td>时间</td>
                                </thead>
                                <tbody>
                                <tr th:each="item:${profitaddup}">
                                    <td>[[${item.product_id}]]</td>
                                    <td>[[${item.product_name}]]</td>
                                    <td>[[${item.ip}]]</td>
                                    <td>[[${item.create_time}]]</td>
                                </tr>
                                </tbody>
                            </table>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="row">
        <div class="col-sm-12">
            <div class="ibox float-e-margins">
                <div class="ibox-title">
                    <h5>登录信息(该用户近十条记录)</h5>
                </div>
                <div class="ibox-content">
                    <div class="row">
                        <div class="col-sm-12">
                            <table class="table table-hover margin bottom" style="table-layout:fixed;">
                                <thead>
                                <td>注册渠道</td>
                                <td>登录渠道</td>
                                <td>ip</td>
                                <td>最后登录时间</td>
                                </thead>
                                <tbody>
                                <tr th:each="item:${Loginsession}">
                                    <td>[[${item.channel_name}]] ( [[${item.channel_code}]] )</td>
                                    <td>[[${item.req_channel_name}]]  ( [[${item.req_channel_code}]] )</td>
                                    <td>[[${item.req_ip}]]</td>
                                    <td>[[${item.login_datetime}]]</td>
                                </tr>
                                </tbody>
                            </table>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>


</div>
</body>
</html>